if (rc~=0) then call ByeBye('100,;***Error: Unable to read message !')
/* create info: */
system.info.Area = ToDoList.todo.MsgArea
system.info.Number = ToDoList.todo.MsgNum
system.info.From = ToDoList.todo.MsgFrom
system.info.FromAddr = ToDoList.todo.MsgFromAddr
system.info.To = MsgStem.TO
system.info.ToAddr = MsgStem.TOADDR
system.info.Subject = MsgStem.SUBJ
system.info.Date = MsgStem.DATE
system.info.Flags = MsgStem.FLAGS
system.info.Level = ToDoList.todo.Level
system.info.EMail = ToDoList.todo.EMail
system.info.fromwho = who
do textcount=0 to MsgStem.TEXT.count-1
system.info.prc.fgroup = ''
system.info.prc.fname = ''
system.info.prc.ftype = ''
system.info.prc.fpath = ''
system.info.prc.fsize = 0
system.info.prc.flevel = -1
system.info.prc.fdesc = ''
system.info.prc.part = 0
system.info.prc.maxpart = 0
parse var MsgStem.TEXT.textcount pre '%' keyword ' ' arguments
select
when (pre~='') then NOP
when (upper(keyword)='HELP') then call Send_Helpfile(ToDoList.todo.MsgArea',;'ToDoList.todo.MsgFrom',;'ToDoList.todo.MsgFromAddr',;'ToDoList.todo.EMail)
when (upper(keyword)='LIST') then call Send_Filelist(ToDoList.todo.MsgArea',;'ToDoList.todo.MsgFrom',;'ToDoList.todo.MsgFromAddr',;'ToDoList.todo.EMail',;'ToDoList.todo.Level',;'arguments)
when (upper(keyword)='GET') then call Send_File(ToDoList.todo.MsgArea',;'ToDoList.todo.MsgFrom',;'ToDoList.todo.MsgFromAddr',;'ToDoList.todo.EMail',;'ToDoList.todo.Level',;'word(arguments,1))
when (upper(keyword)='SCAN') then call Send_Scan(ToDoList.todo.MsgArea',;'ToDoList.todo.MsgFrom',;'ToDoList.todo.MsgFromAddr',;'ToDoList.todo.EMail',;'ToDoList.todo.Level',;'word(arguments,1))
when (upper(keyword)='README') then call Send_ReadMe(ToDoList.todo.MsgArea',;'ToDoList.todo.MsgFrom',;'ToDoList.todo.MsgFromAddr',;'ToDoList.todo.EMail',;'ToDoList.todo.Level',;'word(arguments,1))
when (upper(keyword)='SEARCH') then call Send_Search(ToDoList.todo.MsgArea',;'ToDoList.todo.MsgFrom',;'ToDoList.todo.MsgFromAddr',;'ToDoList.todo.EMail',;'ToDoList.todo.Level',;'word(arguments,1))
when (upper(keyword)='HOLD') then call Send_Hold(ToDoList.todo.MsgArea',;'ToDoList.todo.MsgFrom',;'ToDoList.todo.MsgFromAddr',;'ToDoList.todo.EMail',;'ToDoList.todo.Level',;'word(arguments,1))